package IO;

import java.io.File;

public class Demo2 {
    public static void main(String[] args) {
        File file=new File("./text2.txt");
        boolean ok=file.delete();
        System.out.println(ok);

    }
}
